<template>
	<div class="index">
	   <home-header/>
	   <home-sidebar @chlic="showMsg"/>
	   <home-view/>
	   <home-nav/>
	</div>
</template>

<script>
import HomeHeader from "./components/Header"
import HomeSidebar from "./components/Sidebar"
import HomeView from "./components/View"
import HomeNav from "./components/NavTop"
export default{
    name:"Home",
	components:{
	   HomeHeader,
	   HomeSidebar,
	   HomeView,
	   HomeNav
    },
	data(){
		return{
			parentMsg : []
		}
	},
    methods:{
      getHomeInfo(){
//  	this.axios.get("http://192.168.0.104:5050/login").then((res)=>{
//  		console.log(res);
//  	})
      },
	  showMsg(data){
		  console.log(data);
	  }
    },
    mounted(){
    	this.getHomeInfo()
    }
}
</script>

<style>
	.index{
		width:100%;
		height:100%;
		position: relative;
	}
</style>